package com.hzqy.persistence.dao.itf;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.CmContentVo;

@Repository
public class ItfDao extends PersistenceDao<CmContentVo, Integer>{

	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	public int updateMediaCode(Map<String,Object> map) {
		return getSqlSession().update(this.getNamespace() + "updateMediaCode", map);
	}

	public CmContentVo selectVideoById(int f_cc_id) {
		return getSqlSession().selectOne(this.getNamespace() + "selectVideoById", f_cc_id);
	}
	
	
}
